﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PomeloEfCoreSample.Data.Core
{
    public class User
    {
        public User()
        {
            Id = Guid.NewGuid().ToString("N");
            Roles = new HashSet<Role>();
        }
        public string Id { get; set; }
        public string Name { get; set; }
        public virtual ICollection<Role> Roles { get; set; }
    }
}
